/* rqavars.i - Approver Maintenance Variables                               */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                      */
/* All rights reserved worldwide.  This is an unpublished work.             */
/* $Revision: 1.5 $                                                             */
/*V8:ConvertMode=NoConvert                                                  */
/* REVISION 8.5       LAST MODIFIED: 04/15/97  BY: *J1Q2* Patrick Rowan     */
/* REVISION 8.6       LAST MODIFIED: 05/20/98  BY: *K1Q4* Alfred Tan        */
/* REVISION 8.6       LAST MODIFIED: 06/18/98  BY: *K1PK* D. Belbeck        */
/* REVISION 9.1       LAST MODIFIED: 08/12/00  BY: *N0KP* myb               */
/* Old ECO marker removed, but no ECO header exists *F0PN*                  */
/* $Revision: 1.5 $       BY: Manisha Sawant       DATE: 10/21/01  ECO: *N14P*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/*!
----------------------------------------------------------------------------
DESCRIPTION: Defines variables used in Approver Maintenance and Reports
Supports the multi-line Purchase Requisition Module of MFG/PRO.

============================================================================
!*/
/*NAMES & DESCRIPTIONS*/

define variable var_apr_name          like usr_name.
define variable var_apr_email_addr    as character.
define variable var_category_desc     like rqc_desc.
define variable var_job_desc          like rqj_desc.
define variable var_site_desc         like si_desc.
define variable var_prod_line_desc    like pl_desc.
define variable var_sub_from_desc     like sb_desc.
define variable var_sub_to_desc       like sb_desc.
define variable var_cc_from_desc      like cc_desc.
define variable var_cc_to_desc        like cc_desc.
define variable var_entity_name       like en_name.
define variable var_rvw_level_desc    like rql_desc   format "x(16)".
define variable var_rvw_level_amt     like rql_amt.
define variable var_apr_level_desc    like rql_desc   format "x(16)".
define variable var_apr_level_amt     like rql_amt.
define variable var_alt1_apr_name     like usr_name.
define variable var_alt2_apr_name     like usr_name.
define variable var_admin_apr_name    like usr_name.
define variable var_approver_type     like rqa_type.

/*EDIT VARIABLES*/
define variable var_recid             as recid.
define variable var_apr               like rqa_apr.
define variable var_apr_type          like rqa_type.
define variable var_entity            like rqa_entity.
define variable var_category          like rqa_category.
define variable var_job               like rqa_job.
define variable var_site              like rqa_site.
define variable var_prod_line         like rqa_prod_line.

/*LOGICALS*/
define variable valid_apr             like mfc_logical
   no-undo initial no.
define variable valid_entity          like mfc_logical
   no-undo initial no.
define variable valid_category        like mfc_logical
   no-undo initial no.
define variable valid_job             like mfc_logical
   no-undo initial no.
define variable valid_site            like mfc_logical
   no-undo initial no.
define variable valid_prod_line       like mfc_logical
   no-undo initial no.
define variable valid_sub_range       like mfc_logical
   no-undo initial no.
define variable valid_cc_range        like mfc_logical
   no-undo initial no.
define variable valid_rvw_level       like mfc_logical
   no-undo initial no.
define variable valid_apr_level       like mfc_logical
   no-undo initial no.
define variable valid_alt1_apr        like mfc_logical
   no-undo initial no.
define variable active_alt1_apr       like mfc_logical
   no-undo initial no.
define variable valid_alt1_level      like mfc_logical
   no-undo initial no.
define variable valid_alt2_apr        like mfc_logical
   no-undo initial no.
define variable active_alt2_apr       like mfc_logical
   no-undo initial no.
define variable valid_alt2_level      like mfc_logical
   no-undo initial no.
define variable valid_admin_apr       like mfc_logical
   no-undo initial no.
define variable valid_date_range      like mfc_logical
   no-undo initial no.
define variable overlap_start_date    like mfc_logical
   no-undo initial no.
define variable overlap_end_date      like mfc_logical
   no-undo initial no.
define variable email_active          like mfc_logical
   no-undo initial no.
define variable apr_email_found       like mfc_logical
   no-undo initial no.
define variable alt1_email_found      like mfc_logical
   no-undo initial no.
define variable alt2_email_found      like mfc_logical
   no-undo initial no.
define variable admin_email_found     like mfc_logical
   no-undo initial no.
